package com.alfred.springboot.logback.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: alfred
 * @date: 2021/7/19
 * @description: 测试接口
 */
@Slf4j
@RestController
public class TestController {

    @GetMapping("/visit")
    public void visit(String userName){
        log.info("user "+userName+" visit");
    }

}
